package com.verisette.ncos.persistence.domain;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;


/**
 * The persistent class for the LOG_USER_ACCESS database table.
 * 
 */
@Entity
@Table(name="LOG_USER_ACCESS")
public class LogUserAccess implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="UAC_ID")
	private Integer uacId;

	@Column(name="USP_ID")
	private Integer uspId;
	
	@Column(name="ACTION_DESCRIPTION")
	private String actionDescription;
	
	@Column(name="UAC_DATETIME")
	private Timestamp uacDatetime;

	@Column(name="UAC_IP_ADDR")
	private String uacIpAddr;
	
	@Transient
	private String usgName;
	
	@Transient
	private String uacDatetimeStr;
	
    public LogUserAccess() {
    }

	public Timestamp getUacDatetime() {
		return this.uacDatetime;
	}

	public void setUacDatetime(Timestamp uacDatetime) {
		this.uacDatetime = uacDatetime;
	}

	public String getUacIpAddr() {
		return this.uacIpAddr;
	}

	public void setUacIpAddr(String uacIpAddr) {
		this.uacIpAddr = uacIpAddr;
	}

	public Integer getUacId() {
		return uacId;
	}

	public void setUacId(Integer uacId) {
		this.uacId = uacId;
	}

	public Integer getUspId() {
		return uspId;
	}

	public void setUspId(Integer uspId) {
		this.uspId = uspId;
	}

	public String getActionDescription() {
		return actionDescription;
	}

	public void setActionDescription(String actionDescription) {
		this.actionDescription = actionDescription;
	}

	public String getUsgName() {
		return usgName;
	}

	public void setUsgName(String usgName) {
		this.usgName = usgName;
	}

	public String getUacDatetimeStr() {
		return uacDatetimeStr;
	}

	public void setUacDatetimeStr(String uacDatetimeStr) {
		this.uacDatetimeStr = uacDatetimeStr;
	}

}